package com.sqx.modules.recovery.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @description：TODO
 * @author： qiao
 * @create： 2024/10/15 11:41
 */
@Data
public class AttributeValue implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty("商品规格值的id")
    private String id;
    @ApiModelProperty("商品规格值的名称")
    private String attName;
    @ApiModelProperty("商品规格值的价格")
    private String attPrice;
    @ApiModelProperty("商品规格值的图片")
    private String img;
    @ApiModelProperty("商品规格的id")
    private String specId;

    //    @Override
//    public String toString() {
//        return "{" +
//                "id=" + id  +
//                ", attName=" + attName  +
//                ", attPrice=" + attPrice  +
//                ", img=" + img  +
//                '}';
//    }
    @Override
    public String toString() {
        return "{" +
                "id=" + id +
                ", attName='" + attName + '\'' +
                ", attPrice=" + attPrice +
                ", img='" + img + '\'' +
                '}';
    }
}
